﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace T3._1.Controllers
{
    public class indexController : Controller
    {
        // GET: index
        public ActionResult Index()
        {
            return View();
        }
        [HttpPost]
        public ActionResult Index(String name,int age, string evaluate)
        {
            ViewBag.Name = name;
            ViewBag.Age = age;
            ViewBag.Evaluate = evaluate;            
            return View();
        }
    }
}